package com.ants.product.service.impl;

import com.ants.common.product.Product;
import com.ants.product.dao.ProductMapper;
import com.ants.product.service.ProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * @author 蚂蚁会花呗
 * @create 2025/5/22 9:40
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> implements ProductService {
    @Override
    public Product getEntity(Integer pid) {
        return this.getById(pid);
    }
}
